//
// Created by jinbang.li on 2023/6/23.
//

#ifndef OPENPLAYDEMO_OPSHADER_H
#define OPENPLAYDEMO_OPSHADER_H


class OpShader {
public:
    virtual bool Init();

    virtual void GetTexture(unsigned int index,int width,int height,unsigned char *buf);
    virtual void Draw();

protected:
    unsigned int vsh = 0;
    unsigned int fsh = 0;
    unsigned int program = 0;
    unsigned int texts[100] = {0};
};


#endif //OPENPLAYDEMO_OPSHADER_H
